home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Testing & Debugging / General tools / Report Error 2.0 / ShowStackChain.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-17  |  669 b   |  27 lines  |  [TEXT/KAHL]

  1. /*============================================================
  2.     ShowStackChain.h
  3.     
  4.     greggor@apple.com
  5. ============================================================*/
  6. #ifndef __SHOWSTACKCHAIN__
  7. #define __SHOWSTACKCHAIN__
  8.  
  9. #define kMaxStackChainEntries    40
  10.  
  11. struct StackChainInfo
  12. {
  13.     short                    fEntries;
  14.     void*                    fReturnAddress[kMaxStackChainEntries];
  15. };
  16.  
  17. typedef struct StackChainInfo StackChainInfo;
  18.  
  19. void                        RecordStackChain( StackChainInfo* stackChainInfo );
  20. void                        ShowStackChain( Str255 title, StackChainInfo* stackChainInfo );
  21.  
  22. void                        RecordFailureStackChain(void);
  23. void                        ShowFailureStackChain(Str255 title);
  24. void                        InitShowStackChain(void);
  25.  
  26. #endif
  27.